package com.nanhai.buddhist.college.module.collegebase.convert.colleges;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import com.nanhai.buddhist.college.module.collegebase.api.college.dto.CollegesRespDTO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.colleges.vo.CollegesCreateReqVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.colleges.vo.CollegesExcelVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.colleges.vo.CollegesRespVO;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.colleges.vo.CollegesUpdateReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.colleges.vo.*;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.colleges.CollegesDO;

/**
 * 学校管理--学院 Convert
 *
 * @author 开发
 */
@Mapper
public interface CollegesConvert {

    CollegesConvert INSTANCE = Mappers.getMapper(CollegesConvert.class);

    CollegesDO convert(CollegesCreateReqVO bean);

    CollegesDO convert(CollegesUpdateReqVO bean);

    CollegesRespVO convert(CollegesDO bean);

    List<CollegesRespVO> convertList(List<CollegesDO> list);

    List<CollegesRespDTO> convertList03(List<CollegesDO> list);

    PageResult<CollegesRespVO> convertPage(PageResult<CollegesDO> page);

    List<CollegesExcelVO> convertList02(List<CollegesDO> list);

    CollegesRespDTO convertList04(CollegesDO bean);

    List<CollegesRespDTO> convertList06(List<CollegesDO> bean);

}
